/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.VipType;

public interface VipTypeDao extends Dao {

    /**
     * Retrieves all of the vipTypes
     */
    public List getVipTypes(VipType vipType);

    /**
     * Gets vipType's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the vipType's id
     * @return vipType populated vipType object
     */
    public VipType getVipType(final Integer id);

    /**
     * Saves a vipType's information
     * @param vipType the object to be saved
     */    
    public void saveVipType(VipType vipType);

    /**
     * Removes a vipType from the database by id
     * @param id the vipType's id
     */
    public void removeVipType(VipType vipType);
}

